<!DOCTYPE html>
<html>
<head>
    <title>基本资料修改</title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
    <meta name="description" content="">

    <link rel="stylesheet" href="/lib/weui.min.css">
    <link rel="stylesheet" href="/css/jquery-weui.css">
    <link rel="stylesheet" href="/css/home.css">
    <link rel="stylesheet" href="/plugins/fontaw/css/font-awesome.css">
    <style>
        body{font-size:0.8rem;color:gray}
        .kk-box{background-color: white;padding:0.5rem;margin-bottom: 0.5rem}
        .info-table{line-height: 2rem}
        .info-table td{padding:0rem 0.3rem;border-bottom:#E9E9E9 solid 1px;height: 2rem}
        .info-table input{border:none;height: 1.5rem}
        .kk-textarea{padding:0.3rem;background-color:#F7F7F7; border: none;width: 97%;margin-top: 0.5rem}
    </style>
<body>

<div class="kk-box">
   <div style="margin-bottom: 0.3rem"> <span>填写患者信息</span></div>
    <div style="border-top: #E9E9E9 solid 1px;width: 95%;margin:0 auto"></div>
    <table width="100%" style="margin-top: 0.3rem" class="info-table">
        <tr>
            <td width="70">姓名</td>
            <td colspan="2"><input name="patientname"/></td>
        </tr>

        <tr>
            <td width="70">性别</td>
            <td colspan="2">
                <input type="radio" name="sex" data-labelauty="男">
                <input type="radio" name="sex" data-labelauty="女">
            </td>
        </tr>

        <tr>
            <td width="70">生日</td>
            <td colspan="2"><input name="birthday" id="datetime-picker" /></td>
        </tr>

        <tr>
            <td width="70">身高</td>
            <td><input name="birthday" type="number"/></td>
            <td width="30" align="right">cm</td>
        </tr>
        <tr>
            <td width="70">体重</td>
            <td><input name="birthday" type="number"/></td>
            <td width="30" align="right">kg</td>
        </tr>

        <tr>
            <td width="70">常住地</td>
            <td colspan="2"><input name="address" id="address"/> </td>
        </tr>
    </table>
</div>

<div class="kk-box">
    <div style="margin-bottom: 0.3rem"> <span>是否存在以下既往病史（可多选） </span></div>
    <div style="border-top: #E9E9E9 solid 1px;width: 95%;margin:0 auto"></div>
    <div>
        <input type="checkbox" name="inquiryHistory" data-labelauty="高血脂">
        <input type="checkbox" name="inquiryHistory" data-labelauty="高血压">
        <input type="checkbox" name="inquiryHistory" data-labelauty="高血糖">
        <input type="checkbox" name="inquiryHistory" data-labelauty="脑梗">
        <input type="checkbox" name="inquiryHistory" data-labelauty="脑溢血">
        <input type="checkbox" name="inquiryHistory" data-labelauty="心脏病">
        <input type="checkbox" name="inquiryHistory" data-labelauty="肿瘤">
        <input type="checkbox" name="inquiryHistory" data-labelauty="肝病">
    </div>
</div>


<div class="kk-box">
    <div style="margin-bottom: 0.3rem"> <span>是否有过敏史 、遗传史、手术室（选填） </span></div>
    <div style="border-top: #E9E9E9 solid 1px;width: 95%;margin:0 auto"></div>
    <div>
      <textarea rows="4"  placeholder="如花粉过敏、曾补过牙等" class="kk-textarea"></textarea>
    </div>
</div>

<div class="kk-box">
    <a class="weui-btn weui-btn_primary" href="javascript:" style="line-height:2;width:90%" id="submitDataBtn"> 保 存 </a>
</div>

<script src="/lib/jquery-2.1.4.js"></script>
<script src="/js/home.js"></script>
<script src="/js/jquery-weui.js"></script>
<script type="text/javascript" src="/js/city-picker.js" charset="utf-8"></script>
<script>
    $("input[name='sex']").labelauty();
    $("input[name='inquiryHistory']").labelauty();

    $("#datetime-picker").datetimePicker({
        times:function(){
        },
        value:'1980-06-15  '
    });
    $("#address").cityPicker({
        title: "选择所在地",
        onChange: function (picker, values, displayValues) {

        }
    });
</script>
</body>
</html>